package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserLevelUpgradeRegulationDao;
import com.frogs.ucenter.entity.UserLevelUpgradeRegulation;
import com.frogs.ucenter.service.UserLevelUpgradeRegulationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userLevelUpgradeRegulationService")
public class UserLevelUpgradeRegulationServiceImpl extends BaseServiceImpl<UserLevelUpgradeRegulation> implements UserLevelUpgradeRegulationService {
    @Autowired
    private UserLevelUpgradeRegulationDao userLevelUpgradeRegulationDao;

    public UserLevelUpgradeRegulationServiceImpl() {
        super();
    }

    public UserLevelUpgradeRegulationDao getUserLevelUpgradeRegulationDao() {
        return userLevelUpgradeRegulationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserLevelUpgradeRegulation> getBaseDao() {
        return userLevelUpgradeRegulationDao;
    }

    public void setUserLevelUpgradeRegulationDao(UserLevelUpgradeRegulationDao userLevelUpgradeRegulationDao) {
        this.userLevelUpgradeRegulationDao = userLevelUpgradeRegulationDao;
    }
}